demo: Fix fishbowl default togglebutton state
authorTimm Bäder <mail@baedert.org>
Sun, 10 Feb 2019 15:42:17 +0000 (16:42 +0100)
committerTimm Bäder <mail@baedert.org>
Sun, 10 Feb 2019 15:42:17 +0000 (16:42 +0100)
demos/gtk-demo/fishbowl.ui

index 689217d18aedf9501dea372bd882b2a68b8356f5..21bbc5c70cfbc7f91f7b9fba303594d7479a526b 100644 (file)
@@ -67,8 +67,8 @@
         </child>
         <child>
           <object class="GtkToggleButton" id="changes_prevent">
-            <property name="active" bind-source="changes_allow" bind-property="active" bind-flags="bidirectional|invert-boolean"/>
-            <property name="visible" bind-source="changes_prevent" bind-property="active" bind-flags="invert-boolean"/>
+            <property name="active" bind-source="changes_allow" bind-property="active" bind-flags="bidirectional|invert-boolean">1</property>
+            <property name="visible" bind-source="changes_prevent" bind-property="active" bind-flags="invert-boolean">0</property>
             <property name="icon-name">changes-prevent</property>
             <property name="relief">none</property>
           </object>
@@ -82,7 +82,7 @@
       <object class="GtkFishbowl" id="bowl">
         <property name="visible">True</property>
         <property name="animating">True</property>
-        <property name="benchmark" bind-source="changes_allow" bind-property="active" bind-flags="invert-boolean"/>
+        <property name="benchmark" bind-source="changes_allow" bind-property="active" bind-flags="invert-boolean">1</property>
       </object>
     </child>
   </object>